package com.demo.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.pojo.PageBean;
import com.demo.pojo.SysUser;

public interface SysUserService extends IService<SysUser> {

    SysUser getlogin(String usrName, String usrPassword);

    //PageBean<SysUser> pages(String usrName, Long usrRoleId, Integer pageIndex);

    PageBean<SysUser> pages(String usrName, Long usrRoleId, Integer pageIndex);

    void saveUser(SysUser sysUser);//适用新增和修改

    void deleteUser(Long usrId);

    SysUser getUser(Long usrId);
}
